package com.itheima.chongxie;

public class Demo01 {
    public static void main(String[] args) {
        IpadV2 ipadV2 = new IpadV2();
        ipadV2.smallBlack();


    }

}
  class IpadV1{
    public void call(){
        System.out.println("打电话");
    }
    public void smallBlack(){
        System.out.println("说英语");
    }
}
class IpadV2 extends IpadV1{
    public void smallBlack(){
       // super.smallBlack();
        System.out.println("说中文");
    }

}


